package com.ExaminStudy;

public class Beings {
    public static void main(String[] args) {
        Workers Worker = new Workers();
        Worker.money=2300;
        Worker.age=18;
        Worker.name="张三";
        Worker.Name(Worker.name);
        Worker.Age(Worker.name);
        Worker.Money(Worker.name);


    }
}


class Workers {
    int age;
    String name;
    int money;

    void Name(String name) {
            System.out.println("职员的名字是"+name);
    }
    void Age(String name){
        System.out.println("职员的年龄是"+age);
    }
    void Money(String name){
        System.out.println("职员的工资是"+money);
    }

}
